import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    devNum: 0,
    serverTime: 0,
    curtainControl: {
      openStatus: false,
      extraSpeed: '慢',
    },
    blobControl: {
      roomName: '客厅',
      colorCode: '#ffffff'
    },
    fanControl: {
      openStatus: false,
      extraSpeed: '慢'
    },
    doorControl: {
      openStatus: '关闭',
      inputPassword: ''
    },
    oledControl: {
      inputText: ''
    }
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
})
